mirror of
https://github.com/torvalds/linux.git
synced 2024-12-29 06:12:08 +00:00
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>
This commit is contained in:
parent
95895e178a
commit
55712aeb2c
@ -271,7 +271,6 @@ struct skd_device {
|
|||||||
int gendisk_on;
|
int gendisk_on;
|
||||||
int sync_done;
|
int sync_done;
|
||||||
|
|
||||||
atomic_t device_count;
|
|
||||||
u32 devno;
|
u32 devno;
|
||||||
u32 major;
|
u32 major;
|
||||||
char name[32];
|
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->sgs_per_request = skd_sgs_per_request;
|
||||||
skdev->dbg_level = skd_dbg_level;
|
skdev->dbg_level = skd_dbg_level;
|
||||||
|
|
||||||
atomic_set(&skdev->device_count, 0);
|
|
||||||
|
|
||||||
spin_lock_init(&skdev->lock);
|
spin_lock_init(&skdev->lock);
|
||||||
|
|
||||||
INIT_WORK(&skdev->completion_worker, skd_completion_worker);
|
INIT_WORK(&skdev->completion_worker, skd_completion_worker);
|
||||||
|
Loading…
Reference in New Issue
Block a user