Skip to content

Commit

Permalink
skd: Make the skd_isr() code more brief
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bart Van Assche authored and Jens Axboe committed Aug 18, 2017
1 parent 53e617e commit 1cd3c1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/block/skd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2830,14 +2830,13 @@ static void skd_isr_msg_from_dev(struct skd_device *skdev);
static irqreturn_t
skd_isr(int irq, void *ptr)
{
struct skd_device *skdev;
struct skd_device *skdev = ptr;
u32 intstat;
u32 ack;
int rc = 0;
int deferred = 0;
int flush_enqueued = 0;

skdev = (struct skd_device *)ptr;
spin_lock(&skdev->lock);

for (;; ) {
Expand Down

0 comments on commit 1cd3c1a

Please sign in to comment.