From: Roland Dreier Date: Wed, 1 Feb 2006 04:45:51 +0000 (-0800) Subject: IB/mthca: Make functions that never fail return void X-Git-Tag: v2.6.17-rc1~1180^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9b98b0f11ee7dd39429001ba289f095b9d66917;p=pandora-kernel.git IB/mthca: Make functions that never fail return void The function mthca_free_err_wqe() can never fail, so get rid of its return value. That means handle_error_cqe() doesn't have to check what mthca_free_err_wqe() returns, which means it can't fail either and doesn't have to return anything either. All this results in simpler source code and a slight object code improvement: add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-10 (-10) function old new delta mthca_free_err_wqe 83 81 -2 mthca_poll_cq 1758 1750 -8 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed