floppy: handle device_create_file() failure while init
authorDmitriy Monakhov <dmonakhov@sw.ru>
Tue, 8 May 2007 07:25:58 +0000 (00:25 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 8 May 2007 18:15:02 +0000 (11:15 -0700)
commit4ea1b0f4c4f656e0838a937c47be9544ed1c5118
tree59a0680541a761968f6effaf9a5237200926da2e
parent6de2d20235a2b8c751d39ec4b68347d66b19d815
floppy: handle device_create_file() failure while init

This patch kills the "ignoring return value of 'device_create_file'"
warning message.

Signed-off-by: Monakhov Dmitriy <dmonakhov@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/floppy.c