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
9e5e10a2
Commit
9e5e10a2
authored
May 19, 2011
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rxrpc: Kill set but unused variable 'sp' in rxrpc_process_connection()
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
504f284a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
net/rxrpc/ar-connevent.c
net/rxrpc/ar-connevent.c
+0
-3
No files found.
net/rxrpc/ar-connevent.c
View file @
9e5e10a2
...
@@ -259,7 +259,6 @@ void rxrpc_process_connection(struct work_struct *work)
...
@@ -259,7 +259,6 @@ void rxrpc_process_connection(struct work_struct *work)
{
{
struct
rxrpc_connection
*
conn
=
struct
rxrpc_connection
*
conn
=
container_of
(
work
,
struct
rxrpc_connection
,
processor
);
container_of
(
work
,
struct
rxrpc_connection
,
processor
);
struct
rxrpc_skb_priv
*
sp
;
struct
sk_buff
*
skb
;
struct
sk_buff
*
skb
;
u32
abort_code
=
RX_PROTOCOL_ERROR
;
u32
abort_code
=
RX_PROTOCOL_ERROR
;
int
ret
;
int
ret
;
...
@@ -276,8 +275,6 @@ void rxrpc_process_connection(struct work_struct *work)
...
@@ -276,8 +275,6 @@ void rxrpc_process_connection(struct work_struct *work)
/* go through the conn-level event packets, releasing the ref on this
/* go through the conn-level event packets, releasing the ref on this
* connection that each one has when we've finished with it */
* connection that each one has when we've finished with it */
while
((
skb
=
skb_dequeue
(
&
conn
->
rx_queue
)))
{
while
((
skb
=
skb_dequeue
(
&
conn
->
rx_queue
)))
{
sp
=
rxrpc_skb
(
skb
);
ret
=
rxrpc_process_event
(
conn
,
skb
,
&
abort_code
);
ret
=
rxrpc_process_event
(
conn
,
skb
,
&
abort_code
);
switch
(
ret
)
{
switch
(
ret
)
{
case
-
EPROTO
:
case
-
EPROTO
:
...
...
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