Pārlūkot izejas kodu

USB: whci: declare functions as static

qset_print() was not declared static although it is not used
outside of debug.c

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Bill Pemberton 15 gadi atpakaļ
vecāks
revīzija
277aa97254
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      drivers/usb/host/whci/debug.c

+ 1 - 1
drivers/usb/host/whci/debug.c

@@ -30,7 +30,7 @@ struct whc_dbg {
 	struct dentry *pzl_f;
 	struct dentry *pzl_f;
 };
 };
 
 
-void qset_print(struct seq_file *s, struct whc_qset *qset)
+static void qset_print(struct seq_file *s, struct whc_qset *qset)
 {
 {
 	static const char *qh_type[] = {
 	static const char *qh_type[] = {
 		"ctrl", "isoc", "bulk", "intr", "rsvd", "rsvd", "rsvd", "lpintr", };
 		"ctrl", "isoc", "bulk", "intr", "rsvd", "rsvd", "rsvd", "lpintr", };