summaryrefslogtreecommitdiff
path: root/stand/uboot
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2018-06-05 22:13:45 +0000
committerIan Lepore <ian@FreeBSD.org>2018-06-05 22:13:45 +0000
commit9f6fd8397c3834500c8c1faa73d4ff153eed1091 (patch)
tree4b6d0b9484ed53aef33221af2ca3e92c6333ad03 /stand/uboot
parentb941bc1d6eddacf06eb515faa5d894f2ee2a9011 (diff)
downloadsrc-test-9f6fd8397c3834500c8c1faa73d4ff153eed1091.tar.gz
src-test-9f6fd8397c3834500c8c1faa73d4ff153eed1091.zip
Remove comments and assertions that are no longer valid after r330809.
r330809 replaced duplication of devdesc struct fields with an embedded copy of the devdesc struct, to avoid fragility. That means all the scattered comments indicating that structs must match are no longer valid. Likewise asserts that attempted to mitigate some of the old fragility. Reviewed by: imp@
Notes
Notes: svn path=/head/; revision=334695
Diffstat (limited to 'stand/uboot')
-rw-r--r--stand/uboot/lib/libuboot.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/stand/uboot/lib/libuboot.h b/stand/uboot/lib/libuboot.h
index 221f48f787848..8b81486b1fae9 100644
--- a/stand/uboot/lib/libuboot.h
+++ b/stand/uboot/lib/libuboot.h
@@ -27,9 +27,8 @@
* $FreeBSD$
*/
-/* Note: Must match the 'struct devdesc' in stand.h */
struct uboot_devdesc {
- struct devdesc dd;
+ struct devdesc dd; /* Must be first. */
union {
struct {
int slice;