On Sat, 2009-07-18 at 19:20 +0100, Alan Jenkins wrote: > 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 <alan-jenkins@xxxxxxxxxxxxxx> Acked-by: Johannes Berg <johannes@xxxxxxxxxxxxxxxx> Thanks. > --- > include/linux/rfkill.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/linux/rfkill.h b/include/linux/rfkill.h > index f3d5812..1020290 100644 > --- a/include/linux/rfkill.h > +++ b/include/linux/rfkill.h > @@ -238,7 +238,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
Attachment:
signature.asc
Description: This is a digitally signed message part