commit | d7b0e37c1ac152905b18a5b9506179091a35b0b6 | [log] [tgz] |
---|---|---|
author | Hans Wippel <hwippel@linux.ibm.com> | Fri May 18 09:34:15 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri May 18 13:15:01 2018 -0400 |
tree | bfa2605af15ffc23f2d5954191222390a1b3b7a5 | |
parent | 2f6becaf79cd16f35ee7cb108200b898235b5aa2 [diff] |
net/smc: restructure CDC message reception This patch moves a CDC sanity check from smc_cdc_msg_recv_action() to the other sanity checks in smc_cdc_rx_handler(). While doing this, it simplifies smc_cdc_msg_recv() and removes unneeded function parameters. Signed-off-by: Hans Wippel <hwippel@linux.ibm.com> Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>