Skip to content

Commit

Permalink
Staging: silicom: fix up compiler warnings in bp_proc.c
Browse files Browse the repository at this point in the history
This removes the compiler warnings for unused variables and functions in
the bp_proc.c file.

Cc: Chad Williamson <chad@dahc.us>
Cc: Daniel Cotey <puff65537@bansheeslibrary.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Greg Kroah-Hartman committed Oct 22, 2012
1 parent b9ed9f0 commit 41c66e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/staging/silicom/bp_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
#define DISC_CHANGE_ENTRY_SD "disc_change"
#define DIS_DISC_ENTRY_SD "dis_disc"
#define DISC_PWUP_ENTRY_SD "disc_pwup"
#endif /* bypass_support */

static struct proc_dir_entry *bp_procfs_dir;

static struct proc_dir_entry *proc_getdir(char *name,
Expand All @@ -92,8 +92,6 @@ static struct proc_dir_entry *proc_getdir(char *name,
return pde;
}

#ifdef BYPASS_SUPPORT

int
bypass_proc_create_entry_sd(struct pfs_unit *pfs_unit_curr,
char *proc_name,
Expand Down

0 comments on commit 41c66e0

Please sign in to comment.