Message ID | 1561057678-725-1-git-send-email-periyasa@codeaurora.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 6a82b2e7f17ef00965dc34aecfb06ce53f84a543 |
Delegated to: | Kalle Valo |
Headers | show |
Series | ath11k: fix return statements on void function warnings | expand |
diff --git a/drivers/net/wireless/ath/ath11k/debug.h b/drivers/net/wireless/ath/ath11k/debug.h index 85fb2eb..d0c69c4 100644 --- a/drivers/net/wireless/ath/ath11k/debug.h +++ b/drivers/net/wireless/ath/ath11k/debug.h @@ -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 */ diff --git a/drivers/net/wireless/ath/ath11k/wmi.c b/drivers/net/wireless/ath/ath11k/wmi.c index 485e6ac..a79b6d2 100644 --- a/drivers/net/wireless/ath/ath11k/wmi.c +++ b/drivers/net/wireless/ath/ath11k/wmi.c @@ -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)
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 <periyasa@codeaurora.org> --- drivers/net/wireless/ath/ath11k/debug.h | 1 - drivers/net/wireless/ath/ath11k/wmi.c | 1 - 2 files changed, 2 deletions(-)