diff options
author | Joe Perches <joe@perches.com> | 2010-03-10 15:20:48 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-03-12 15:52:29 -0800 |
commit | d7b2b2ecd88d06ae212d069a4e187ab690b1636f (patch) | |
tree | afcabe5b53d0ade068e9dc2464ce7d3387dbc11a /drivers/block/brd.c | |
parent | 045f98363080ddbbcef6b8b8306ec58a818406a0 (diff) |
drivers/block/floppy.c: hoist assigns from if()s, neatening
Move assigns above if()s
Remove unnecessary parentheses from returns
Use a temporary for a duplicated test
Signed-off-by: Joe Perches <joe@perches.com>
Cc: Stephen Hemminger <shemminger@vyatta.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/block/brd.c')
0 files changed, 0 insertions, 0 deletions