summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm/smd.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2012-08-22 15:55:43 -0700
committerDavid Brown <davidb@codeaurora.org>2012-09-13 10:43:57 -0700
commit085eea143effef565e6b508ccb793921d0d7f4d4 (patch)
treead139d143f3bab18c526794d3306fb41109c1f3b /arch/arm/mach-msm/smd.c
parent28a33cbc24e4256c143dce96c7d93bf423229f92 (diff)
downloadop-kernel-dev-085eea143effef565e6b508ccb793921d0d7f4d4.zip
op-kernel-dev-085eea143effef565e6b508ccb793921d0d7f4d4.tar.gz
ARM: msm: Remove msm_hw_reset_hook
This reset hook is never assigned and is dead code. Remove it so we have one less header file in the mach directory. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/smd.c')
-rw-r--r--arch/arm/mach-msm/smd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-msm/smd.c b/arch/arm/mach-msm/smd.c
index 657be73..84183ed 100644
--- a/arch/arm/mach-msm/smd.c
+++ b/arch/arm/mach-msm/smd.c
@@ -30,7 +30,6 @@
#include <linux/delay.h>
#include <mach/msm_smd.h>
-#include <mach/system.h>
#include "smd_private.h"
#include "proc_comm.h"
@@ -39,8 +38,6 @@
#define CONFIG_QDSP6 1
#endif
-void (*msm_hw_reset_hook)(void);
-
#define MODULE_NAME "msm_smd"
enum {
@@ -101,10 +98,6 @@ static void handle_modem_crash(void)
pr_err("ARM9 has CRASHED\n");
smd_diag();
- /* hard reboot if possible */
- if (msm_hw_reset_hook)
- msm_hw_reset_hook();
-
/* in this case the modem or watchdog should reboot us */
for (;;)
;
OpenPOWER on IntegriCloud