Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c2a8fad4
Commit
c2a8fad4
authored
Nov 09, 2005
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[wireless ipw2100] kill unused-var warnings for debug-disabled code
parent
eedb9f09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
drivers/net/wireless/ipw2100.c
drivers/net/wireless/ipw2100.c
+4
-0
No files found.
drivers/net/wireless/ipw2100.c
View file @
c2a8fad4
...
...
@@ -3748,6 +3748,8 @@ static ssize_t store_memory(struct device *d, struct device_attribute *attr,
struct
net_device
*
dev
=
priv
->
net_dev
;
const
char
*
p
=
buf
;
(
void
)
dev
;
/* kill unused-var warning for debug-only code */
if
(
count
<
1
)
return
count
;
...
...
@@ -4066,6 +4068,8 @@ static ssize_t store_scan_age(struct device *d, struct device_attribute *attr,
unsigned
long
val
;
char
*
p
=
buffer
;
(
void
)
dev
;
/* kill unused-var warning for debug-only code */
IPW_DEBUG_INFO
(
"enter
\n
"
);
strncpy
(
buffer
,
buf
,
len
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment