From: Geert Uytterhoeven Date: Fri, 25 Apr 2008 10:46:20 +0000 (+0200) Subject: ps3disk: Remove superfluous cast X-Git-Tag: v2.6.26-rc1~372^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31e103c595c0fa0d23eea5a4168362fba4c5ba62;p=pandora-kernel.git 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 Acked-by: Christoph Hellwig Signed-off-by: Jens Axboe --- Reading git-diff-tree failed