Skip to content

Commit 03af5c6

Browse files
nathanchancePixelBoot
authored andcommitted
drivers: staging: qcacld-3.0: Fix unused function warning
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
1 parent f26e2d0 commit 03af5c6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/staging/qcacld-3.0/core/hdd/src/wlan_hdd_main.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12074,6 +12074,7 @@ static int wlan_hdd_state_ctrl_param_create(void)
1207412074
return -ENODEV;
1207512075
}
1207612076

12077+
#ifdef MODULE
1207712078
static void wlan_hdd_state_ctrl_param_destroy(void)
1207812079
{
1207912080
cdev_del(&wlan_hdd_state_cdev);
@@ -12083,6 +12084,7 @@ static void wlan_hdd_state_ctrl_param_destroy(void)
1208312084

1208412085
pr_info("Device node unregistered");
1208512086
}
12087+
#endif
1208612088

1208712089
/**
1208812090
* __hdd_module_init - Module init helper

0 commit comments

Comments
 (0)