skd: Fix checkpatch ERRORS and removed unused functions
authorAkhil Bhansali <bhansaliakhil@gmail.com>
Wed, 23 Oct 2013 12:00:08 +0000 (13:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 8 Nov 2013 16:10:29 +0000 (09:10 -0700)
commitf721bb0dbd3fd37f16c49c97155f40f22496a970
treefbd2d1ef4c0935558e2c4ce62af3b3fa6d1b5d18
parent8c49a77ca451541938f90008f419fca965b76b72
skd: Fix checkpatch ERRORS and removed unused functions

This patch fixes checkpatch.pl errors for assignment in if condition.
It also removes unused readq / readl function calls.

As Andrew had disabled the compilation of drivers for 32 bit,
I have modified format specifiers in few VPRINTKs to avoid warnings
during 64 bit compilation.

Signed-off-by: Akhil Bhansali <abhansali@stec-inc.com>
Reviewed-by: Ramprasad Chinthekindi <rchinthekindi@stec-inc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/skd_main.c