summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-17 23:12:56 +0300
committerJens Axboe <axboe@kernel.dk>2017-08-18 17:45:29 +0300
commit55712aeb2cdb219bbdad4c0aba62a13449cbc62f (patch)
tree07ac4a29ec84e373b27b5b9cae56c2c5e5611cd9 /drivers/block
parent95895e178a1e6a9fe33487de0c09869f49953aae (diff)
downloadlinux-55712aeb2cdb219bbdad4c0aba62a13449cbc62f.tar.xz
skd: Remove a set-but-not-used variable from struct skd_device
This patch does not change any functionality. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/skd_main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c
index ef7c0384e9a8..53c84c846a5e 100644
--- a/drivers/block/skd_main.c
+++ b/drivers/block/skd_main.c
@@ -271,7 +271,6 @@ struct skd_device {
int gendisk_on;
int sync_done;
- atomic_t device_count;
u32 devno;
u32 major;
char name[32];
@@ -4313,8 +4312,6 @@ static struct skd_device *skd_construct(struct pci_dev *pdev)
skdev->sgs_per_request = skd_sgs_per_request;
skdev->dbg_level = skd_dbg_level;
- atomic_set(&skdev->device_count, 0);
-
spin_lock_init(&skdev->lock);
INIT_WORK(&skdev->completion_worker, skd_completion_worker);