IB/srp: Remove superfluous casts
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 18 May 2015 11:25:10 +0000 (13:25 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:55 +0000 (13:35 -0400)
commit45c37cad40beb42ccaeb4835ff4a69c6b83524a1
tree481c2849fd2daf4a8f3709d1e7ff6bba8b46286f
parente68ca75200fed4700471fb84ea0d09e25f269654
IB/srp: Remove superfluous casts

A long time ago the data type int64_t was declared as long long
on x86 systems and as long on PPC systems. Today that data type
is declared as long long on all Linux architectures. This means
that the casts from uint64_t into unsigned long long are
superfluous. Remove these superfluous casts.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c