On 1/5/2018 8:26 AM, Bart Van Assche wrote:
Use the sgl_alloc() and sgl_free() functions instead of open coding these functions. Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxx> Reviewed-by: Johannes Thumshirn <jthumshirn@xxxxxxx> Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cc: Keith Busch <keith.busch@xxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> Cc: James Smart <james.smart@xxxxxxxxxxxx> Cc: Sagi Grimberg <sagi@xxxxxxxxxxx> --- drivers/nvme/target/Kconfig | 1 + drivers/nvme/target/fc.c | 36 ++---------------------------------- 2 files changed, 3 insertions(+), 34 deletions(-)
Reviewed-by: James Smart <james.smart@xxxxxxxxxxxx> -- james