Commit 9b49561f authored by Everest K.C.'s avatar Everest K.C. Committed by Luiz Augusto von Dentz
Browse files

Bluetooth: btintel_pcie: Remove deadcode



The switch case statement has a default branch. Thus, the return
statement at the end of the function can never be reached.
Fix it by removing the return statement at the end of the
function.

This issue was reported by Coverity Scan.

Signed-off-by: default avatarEverest K.C. <everestkc@everestkc.com.np>
Reviewed-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
parent c6256ec2
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -391,7 +391,6 @@ static inline char *btintel_pcie_alivectxt_state2str(u32 alive_intr_ctxt)
	default:
		return "unknown";
	}
	return "null";
}

/* This function handles the MSI-X interrupt for gp0 cause (bit 0 in