diff options
author | Chris Boot <bootc@bootc.net> | 2012-12-11 22:58:47 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-12-13 06:16:47 +0100 |
commit | 37419d674ca99739dbee5ada28b50aacc29c94e1 (patch) | |
tree | 727a2b2faf812f9d8d3c36398a88f213f3248ed4 /drivers/vhost | |
parent | iscsi-target: use kstrdup() for iscsi_param (diff) | |
download | linux-37419d674ca99739dbee5ada28b50aacc29c94e1.tar.xz linux-37419d674ca99739dbee5ada28b50aacc29c94e1.zip |
sbp-target: use simple assignment in tgt_agent_rw_agent_state()
There is no need to memcpy() a 32-bit integer. The data pointer is
guaranteed to be quadlet aligned by the FireWire stack so we can replace
the memcpy() with an assignment.
Thanks to Stefan Richter.
Signed-off-by: Chris Boot <bootc@bootc.net>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Andy Grover <agrover@redhat.com>
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: Nicholas A. Bellinger <nab@linux-iscsi.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions