summaryrefslogtreecommitdiffstats
path: root/drivers/acorn
diff options
context:
space:
mode:
authorRoland Dreier <roland@topspin.com>2005-06-27 23:36:43 +0200
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-28 00:11:45 +0200
commita03a5a67b243e9a24805ee18272ad25e5b2ca92c (patch)
tree5e4a1d3ec8482a482caa6697cba12a819ef6aa8a /drivers/acorn
parent[PATCH] IB/mthca: Fix memset size (diff)
downloadlinux-a03a5a67b243e9a24805ee18272ad25e5b2ca92c.tar.xz
linux-a03a5a67b243e9a24805ee18272ad25e5b2ca92c.zip
[PATCH] IB/mthca: Move mthca_is_memfree checks
Make mthca_table_put() and mthca_table_put_range() NOPs if the device is not mem-free, so that we don't have to have "if (mthca_is_memfree())" tests in the callers of these functions. This makes our code more readable and maintainable, and saves a couple dozen bytes of text in ib_mthca.ko as well. Signed-off-by: Roland Dreier <roland@topspin.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/acorn')
0 files changed, 0 insertions, 0 deletions