projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66284f
)
rfkill: remove too-strict __must_check
author
Alan Jenkins
<
[email protected]
>
Sat, 18 Jul 2009 18:20:20 +0000
(19:20 +0100)
committer
John W. Linville
<
[email protected]
>
Tue, 21 Jul 2009 16:07:43 +0000
(12:07 -0400)
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 <
[email protected]
>
Acked-by: Johannes Berg <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
include/linux/rfkill.h
patch
|
blob
|
history
diff --git
a/include/linux/rfkill.h
b/include/linux/rfkill.h
index 2ce29831feb61d9c0d7aefa5f0f3446f17519220..278777fa8a3a98fcad50cf0c17e8457e48328679 100644
(file)
--- 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