diff options
author | Roland Dreier <rolandd@cisco.com> | 2006-02-01 07:45:51 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-03-20 21:08:07 +0300 |
commit | d9b98b0f11ee7dd39429001ba289f095b9d66917 (patch) | |
tree | c473a7b348640cb80c4584ef5ea8dd055efed577 /include/video | |
parent | 7705a8792b0fc82fd7d4dd923724606bbfd9fb20 (diff) | |
download | linux-d9b98b0f11ee7dd39429001ba289f095b9d66917.tar.xz |
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 <rolandd@cisco.com>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions