diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2013-11-05 11:37:07 (GMT) |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-11-08 16:10:30 (GMT) |
commit | fec23f63115622cfc82ed92e5d9348cb81c69173 (patch) | |
tree | a57a94eb67c9f80836f34e8a217290ff0677499d /mm/mm_init.c | |
parent | 7f74e5e94477b7b859c239661399af1fe37927f8 (diff) | |
download | linux-fsl-qoriq-fec23f63115622cfc82ed92e5d9348cb81c69173.tar.xz |
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>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions