aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2012-07-28 07:45:59 -0400
committerJiri Kosina <jkosina@suse.cz>2012-07-31 05:38:39 -0400
commit2fb2ca6f5b953192d5a94fcc778d9abba06462df (patch)
tree6ad1eedd2c96aefebdb1feb305e88ad5ece37dd8 /drivers/block
parent0cc15d03bcccdf95e2bd82e094e6064e61b54207 (diff)
floppy: remove duplicated flag FD_RAW_NEED_DISK
Fix coccinelle warning (without behavior change): drivers/block/floppy.c:2518:32-48: duplicated argument to & or | Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/floppy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
index 1347ba8b8377..9d6ef68e2f1b 100644
--- a/drivers/block/floppy.c
+++ b/drivers/block/floppy.c
@@ -2516,8 +2516,7 @@ static int make_raw_rw_request(void)
2516 set_fdc((long)current_req->rq_disk->private_data); 2516 set_fdc((long)current_req->rq_disk->private_data);
2517 2517
2518 raw_cmd = &default_raw_cmd; 2518 raw_cmd = &default_raw_cmd;
2519 raw_cmd->flags = FD_RAW_SPIN | FD_RAW_NEED_DISK | FD_RAW_NEED_DISK | 2519 raw_cmd->flags = FD_RAW_SPIN | FD_RAW_NEED_DISK | FD_RAW_NEED_SEEK;
2520 FD_RAW_NEED_SEEK;
2521 raw_cmd->cmd_count = NR_RW; 2520 raw_cmd->cmd_count = NR_RW;
2522 if (rq_data_dir(current_req) == READ) { 2521 if (rq_data_dir(current_req) == READ) {
2523 raw_cmd->flags |= FD_RAW_READ; 2522 raw_cmd->flags |= FD_RAW_READ;