提交 94190664 编写于 作者: B Bill Pemberton 提交者: Greg Kroah-Hartman

staging: csr: remove CONFIG_HOTPLUG ifdefs

Remove conditional code based on CONFIG_HOTPLUG being false.  It's
always on now in preparation of it going away as an option.
Signed-off-by: NBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 e543acf0
......@@ -233,8 +233,6 @@ unifi_fw_read(void *ospriv, void *arg, u32 offset, void *buf, u32 len)
int
uf_run_unifihelper(unifi_priv_t *priv)
{
#ifdef CONFIG_HOTPLUG
#ifdef ANDROID_BUILD
char *prog = "/system/bin/unififw";
#else
......@@ -280,10 +278,6 @@ uf_run_unifihelper(unifi_priv_t *priv)
r = call_usermodehelper(argv[0], argv, envp, UMH_WAIT_EXEC);
return r;
#else
unifi_trace(priv, UDBG1, "Can't automatically download firmware because kernel does not have HOTPLUG\n");
return -1;
#endif
} /* uf_run_unifihelper() */
#ifdef CSR_WIFI_SPLIT_PATCH
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册