commit | fec23f63115622cfc82ed92e5d9348cb81c69173 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | Tue Nov 05 12:37:07 2013 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Nov 08 09:10:30 2013 -0700 |
tree | a57a94eb67c9f80836f34e8a217290ff0677499d | |
parent | 7f74e5e94477b7b859c239661399af1fe37927f8 [diff] |
skd: cleanup skd_do_inq_page_da() skdev->pdev and skdev->pdev->bus are always different than NULL in skd_do_inq_page_da() so simplify the code accordingly. Also cache skdev->pdev value in pdev variable while at it. Cc: Akhil Bhansali <abhansali@stec-inc.com> Cc: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>