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
Kirill Smelkov
linux
Commits
504f284a
Commit
504f284a
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_rotate_tx_window()
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
f06cd54f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
net/rxrpc/ar-ack.c
net/rxrpc/ar-ack.c
+0
-2
No files found.
net/rxrpc/ar-ack.c
View file @
504f284a
...
...
@@ -375,7 +375,6 @@ static int rxrpc_process_soft_ACKs(struct rxrpc_call *call,
*/
static
void
rxrpc_rotate_tx_window
(
struct
rxrpc_call
*
call
,
u32
hard
)
{
struct
rxrpc_skb_priv
*
sp
;
unsigned
long
_skb
;
int
tail
=
call
->
acks_tail
,
old_tail
;
int
win
=
CIRC_CNT
(
call
->
acks_head
,
tail
,
call
->
acks_winsz
);
...
...
@@ -387,7 +386,6 @@ static void rxrpc_rotate_tx_window(struct rxrpc_call *call, u32 hard)
while
(
call
->
acks_hard
<
hard
)
{
smp_read_barrier_depends
();
_skb
=
call
->
acks_window
[
tail
]
&
~
1
;
sp
=
rxrpc_skb
((
struct
sk_buff
*
)
_skb
);
rxrpc_free_skb
((
struct
sk_buff
*
)
_skb
);
old_tail
=
tail
;
tail
=
(
tail
+
1
)
&
(
call
->
acks_winsz
-
1
);
...
...
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