summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2008-04-25 14:46:20 +0400
committerJens Axboe <jens.axboe@oracle.com>2008-04-29 11:50:34 +0400
commit31e103c595c0fa0d23eea5a4168362fba4c5ba62 (patch)
tree36fac2a8c96b7bb4ea0c1f028d5d398c9a6621d2 /include/linux
parent1afb20f30151dd4160877c827f5b7203f98627fb (diff)
downloadlinux-31e103c595c0fa0d23eea5a4168362fba4c5ba62.tar.xz
ps3disk: Remove superfluous cast
As ps3disk is a ppc64-only driver, sector_t equals to unsigned long, and the cast is not needed. Reuse in another (possibly 32-bit) driver is protected by the safety net called `compiler warning' (with the cast, it may silently truncate to 32-bit). If sector_t ever changes, we will get a compiler warning as well (with the cast, we won't). Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions