aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Graul <kgraul@linux.ibm.com>2018-05-15 11:04:56 -0400
committerDavid S. Miller <davem@davemloft.net>2018-05-16 11:49:19 -0400
commit9fcdf8e983b5c8367064067cd8e74b6cfb90eef7 (patch)
tree15ff2acf2900ab369c57aec855ddaab2780b06db
parent44aa81ce953aadd683765e6416ad53cc61d0624a (diff)
net/smc: remove unnecessary cast
Remove an unneeded (void *) cast from the calls to smc_llc_send_message(). No functional changes. Signed-off-by: Karsten Graul <kgraul@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/smc/smc_llc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/smc/smc_llc.c b/net/smc/smc_llc.c
index b118f80b9c41..29f59b47b559 100644
--- a/net/smc/smc_llc.c
+++ b/net/smc/smc_llc.c
@@ -451,7 +451,7 @@ static void smc_llc_rx_confirm_rkey(struct smc_link *link,
451 llc->hd.flags |= SMC_LLC_FLAG_RESP; 451 llc->hd.flags |= SMC_LLC_FLAG_RESP;
452 if (rc < 0) 452 if (rc < 0)
453 llc->hd.flags |= SMC_LLC_FLAG_RKEY_NEG; 453 llc->hd.flags |= SMC_LLC_FLAG_RKEY_NEG;
454 smc_llc_send_message(link, (void *)llc, sizeof(*llc)); 454 smc_llc_send_message(link, llc, sizeof(*llc));
455 } 455 }
456} 456}
457 457
@@ -463,7 +463,7 @@ static void smc_llc_rx_confirm_rkey_cont(struct smc_link *link,
463 } else { 463 } else {
464 /* ignore rtokens for other links, we have only one link */ 464 /* ignore rtokens for other links, we have only one link */
465 llc->hd.flags |= SMC_LLC_FLAG_RESP; 465 llc->hd.flags |= SMC_LLC_FLAG_RESP;
466 smc_llc_send_message(link, (void *)llc, sizeof(*llc)); 466 smc_llc_send_message(link, llc, sizeof(*llc));
467 } 467 }
468} 468}
469 469
@@ -491,7 +491,7 @@ static void smc_llc_rx_delete_rkey(struct smc_link *link,
491 } 491 }
492 492
493 llc->hd.flags |= SMC_LLC_FLAG_RESP; 493 llc->hd.flags |= SMC_LLC_FLAG_RESP;
494 smc_llc_send_message(link, (void *)llc, sizeof(*llc)); 494 smc_llc_send_message(link, llc, sizeof(*llc));
495 } 495 }
496} 496}
497 497