Commit 68b9ef71 authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] strip: remove warnings when !PROC_FS

When !CONFIG_PROC_FS, I'm getting this warning:

drivers/net/wireless/strip.c:1169: warning: `strip_seq_fops' defined but not used
parent 40e5c8ac
......@@ -953,6 +953,7 @@ static void strip_unlock(struct strip *strip_info)
* ascii representation of the number plus 9 charactes for the " seconds"
* and the null character.
*/
#ifdef CONFIG_PROC_FS
static char *time_delta(char buffer[], long time)
{
time -= jiffies;
......@@ -1173,6 +1174,7 @@ static struct file_operations strip_seq_fops = {
.llseek = seq_lseek,
.release = seq_release,
};
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment