ath11k: fix return statements on void function warnings
PATCH 1/1 ath11k: fix return statements on void function warnings
drivers/net/wireless/ath/ath11k/debug.h:130: void function return statements are not generally useful drivers/net/wireless/ath/ath11k/wmi.c:4692: void function return statements are not generally useful
Signed-off-by Karthikeyan Periyasamy <[email protected]>
--- drivers/net/wireless/ath/ath11k/debug.h | 1 - drivers/net/wireless/ath/ath11k/wmi.c | 1 - 2 files changed, 2 deletions(-)
drivers/net/wireless/ath/ath11k/debug.h +0 -1
@@ -126,7 +126,6 @@ static inline void ath11k_dbg_dump(struct ath11k_base *ab, const char *msg, const char *prefix, const void *buf, size_t len) { - return; } #endif /* CONFIG_ATH11K_DEBUG */
drivers/net/wireless/ath/ath11k/wmi.c +0 -1
@@ -4689,7 +4689,6 @@ static void ath11k_peer_delete_resp_event(struct ath11k_base *ab, u8 *evt_buf, u/* TODO: Do we need to validate whether ath11k_peer_find() return NULL * Why this is needed when there is HTT event for peer delete */ -return ; }static inline const char *ath11k_wmi_vdev_resp_print (u32 vdev_resp_status)
Signature · 7 lines
1.9.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k