From: Alan Jenkins Date: Sat, 18 Jul 2009 18:20:20 +0000 (+0100) Subject: rfkill: remove too-strict __must_check X-Git-Tag: v2.6.31-rc5~83^2~18^2~5 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=e56f0975360369347725c49654ecfe3792710429;p=~emulex%2Finfiniband.git rfkill: remove too-strict __must_check Some drivers don't need the return value of rfkill_set_hw_state(), so it should not be marked as __must_check. Signed-off-by: Alan Jenkins Acked-by: Johannes Berg Signed-off-by: John W. Linville --- diff --git a/include/linux/rfkill.h b/include/linux/rfkill.h index 2ce29831feb..278777fa8a3 100644 --- a/include/linux/rfkill.h +++ b/include/linux/rfkill.h @@ -224,7 +224,7 @@ void rfkill_destroy(struct rfkill *rfkill); * should be blocked) so that drivers need not keep track of the soft * block state -- which they might not be able to. */ -bool __must_check rfkill_set_hw_state(struct rfkill *rfkill, bool blocked); +bool rfkill_set_hw_state(struct rfkill *rfkill, bool blocked); /** * rfkill_set_sw_state - Set the internal rfkill software block state