summaryrefslogtreecommitdiff
path: root/.mailmap
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-09-03 00:55:32 +0300
committerJoe Hershberger <joe.hershberger@ni.com>2019-09-04 19:37:19 +0300
commit15eea9a1a8166b4bbab6c02cc426a7cc806ea2ca (patch)
tree42c2218d2fb891a3ef2625dcb26507b6ac6cf3c3 /.mailmap
parentcccc05ee3b9f575b567437d4146af0dee40c68ba (diff)
downloadu-boot-15eea9a1a8166b4bbab6c02cc426a7cc806ea2ca.tar.xz
net: nfs: remove superfluous conversions
rpc_pkt.u.call.data is an array of uint32_t. There is no need to convert it to uint32_t *. memcpy() expects void * as it 1st and 2nd argument. There is no point in converting pointers to char * before passing them to memcpy(). In ntohl(data[1]) != 0 calling ntohl() is superfluous. If the value is zero, does not depend on the byte order. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions