From bfdaa39f42e6f7b364f3c499af9a67b1d8186c8b Mon Sep 17 00:00:00 2001 From: SeongJae Park Date: Wed, 26 Mar 2014 23:24:06 +0900 Subject: [PATCH] staging: silicom: remove BP_PROC_SUPPORT dependant code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Some code is hide inside #ifdef BP_PROC_SUPPORT and it never defined anywhere. And, it made defined but not used function which calling code was hide inside #ifdef BP_PROC_SUPPORT and caused following build warning: drivers/staging/silicom/bpctl_mod.c:6786:12: warning: ‘bp_proc_create’ defined but not used [-Wunused-function] static int bp_proc_create(void) ^ Fix the warning and remove code complexity by remove whole code inside #ifdef BP_PROC_SUPPORT. Signed-off-by: SeongJae Park Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed