mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
skd: Make the skd_isr() code more brief
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
53e617e3dd
commit
1cd3c1aba3
1 changed files with 1 additions and 2 deletions
|
@ -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 (;; ) {
|
||||
|
|
Loading…
Reference in a new issue