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
6f3d05db
Commit
6f3d05db
authored
Jan 13, 2010
by
Andy Grover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RDS/IB: Remove dead code
Signed-off-by:
Andy Grover
<
andy.grover@oracle.com
>
parent
f147dd9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
net/rds/ib_send.c
net/rds/ib_send.c
+0
-14
No files found.
net/rds/ib_send.c
View file @
6f3d05db
...
@@ -542,12 +542,6 @@ int rds_ib_xmit(struct rds_connection *conn, struct rds_message *rm,
...
@@ -542,12 +542,6 @@ int rds_ib_xmit(struct rds_connection *conn, struct rds_message *rm,
/* map the message the first time we see it */
/* map the message the first time we see it */
if
(
!
ic
->
i_rm
)
{
if
(
!
ic
->
i_rm
)
{
/*
printk(KERN_NOTICE "rds_ib_xmit prep msg dport=%u flags=0x%x len=%d\n",
be16_to_cpu(rm->m_inc.i_hdr.h_dport),
rm->m_inc.i_hdr.h_flags,
be32_to_cpu(rm->m_inc.i_hdr.h_len));
*/
if
(
rm
->
data
.
m_nents
)
{
if
(
rm
->
data
.
m_nents
)
{
rm
->
data
.
m_count
=
ib_dma_map_sg
(
dev
,
rm
->
data
.
m_count
=
ib_dma_map_sg
(
dev
,
rm
->
data
.
m_sg
,
rm
->
data
.
m_sg
,
...
@@ -684,14 +678,6 @@ int rds_ib_xmit(struct rds_connection *conn, struct rds_message *rm,
...
@@ -684,14 +678,6 @@ int rds_ib_xmit(struct rds_connection *conn, struct rds_message *rm,
* have been set up to point to the right header buffer. */
* have been set up to point to the right header buffer. */
memcpy
(
&
ic
->
i_send_hdrs
[
pos
],
&
rm
->
m_inc
.
i_hdr
,
sizeof
(
struct
rds_header
));
memcpy
(
&
ic
->
i_send_hdrs
[
pos
],
&
rm
->
m_inc
.
i_hdr
,
sizeof
(
struct
rds_header
));
if
(
0
)
{
struct
rds_header
*
hdr
=
&
ic
->
i_send_hdrs
[
pos
];
printk
(
KERN_NOTICE
"send WR dport=%u flags=0x%x len=%d
\n
"
,
be16_to_cpu
(
hdr
->
h_dport
),
hdr
->
h_flags
,
be32_to_cpu
(
hdr
->
h_len
));
}
if
(
adv_credits
)
{
if
(
adv_credits
)
{
struct
rds_header
*
hdr
=
&
ic
->
i_send_hdrs
[
pos
];
struct
rds_header
*
hdr
=
&
ic
->
i_send_hdrs
[
pos
];
...
...
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