genhd must_check warning fix
authorRoland McGrath <roland@redhat.com>
Wed, 12 Mar 2008 00:13:15 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Mar 2008 19:34:37 +0000 (12:34 -0700)
Fixes:

block/genhd.c:361: warning: ignoring return value of â€˜class_register’, declared with attribute warn_unused_result

Signed-off-by: Roland McGrath <roland@redhat.com>
Acked-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found