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)
commitee27a558ae0ff5063ccd6c47ca102c0bb0e3ba27
treedcf8c19fa113bf8bd1e8d5c97a4d527cc845e38d
parenta8ae50ba9336ff77d0df0943ac27b79ba0a5a521
genhd must_check warning fix

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>
block/genhd.c