From: Mateusz Kulikowski Date: Sun, 31 May 2015 18:19:48 +0000 (+0200) Subject: staging: rtl8192e: Remove unneeded RT_TRACE(COMP_ERR,...) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fe1bbfc9b8e478cc13e73e0d7c13026b9ab8ba9c;p=openwrt%2Fstaging%2Fblogic.git staging: rtl8192e: Remove unneeded RT_TRACE(COMP_ERR,...) This messages are not needed, as failure is reported earlier in code. Signed-off-by: Mateusz Kulikowski Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c b/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c index 01d2201afc94..f080a913709f 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8190P_rtl8256.c @@ -239,7 +239,6 @@ bool phy_RF8256_Config_ParaFile(struct net_device *dev) return true; phy_RF8256_Config_ParaFile_Fail: - RT_TRACE(COMP_ERR, "PHY Initialization failed\n"); return false; } diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c index 02c5b0a21b6a..54e430eeb8eb 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_firmware.c @@ -171,7 +171,6 @@ static bool CPUcheck_firmware_ready(struct net_device *dev) return rt_status; CPUCheckFirmwareReady_Fail: - RT_TRACE(COMP_ERR, "ERR in %s()\n", __func__); rt_status = false; return rt_status;