summaryrefslogtreecommitdiff
path: root/arch/um/sys-i386/user-offsets.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-02-23 23:23:46 (GMT)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-24 01:12:14 (GMT)
commitf3069ae9d76901d021362bb63d9ad6c5900dfc76 (patch)
treeb8100cfd0f339484604e7ef75ebe1d2395ebd75e /arch/um/sys-i386/user-offsets.c
parentc8626a1d7250c593f148530b559c20f6f6af18e8 (diff)
downloadlinux-fsl-qoriq-f3069ae9d76901d021362bb63d9ad6c5900dfc76.tar.xz
dmi: don't save the same device twice
Now that we gather on-board devices from both DMI types 10 and 41, there is a possibility that we list the same device twice. In order to not confuse drivers, and also to save memory, make sure that we do not add duplicate devices to the dmi_devices list. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Wim Van Sebroeck <wim@iguana.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/sys-i386/user-offsets.c')
0 files changed, 0 insertions, 0 deletions