block/curl: Use BDRV_SECTOR_SIZE
commit9054d9f6b00a3f0576b1a7310a3886d1783ad382
authorMax Reitz <mreitz@redhat.com>
Tue, 25 Oct 2016 02:54:28 +0000 (25 04:54 +0200)
committerJeff Cody <jcody@redhat.com>
Tue, 15 Nov 2016 03:47:34 +0000 (14 22:47 -0500)
tree9b2d4e126f42ccb1140f4f8dd213ec2c83943da7
parent23dce3873f3aee6ee7d4a1c17dd26fb5f453bc5a
block/curl: Use BDRV_SECTOR_SIZE

Currently, curl defines its own constant SECTOR_SIZE. There is no
advantage over using the global BDRV_SECTOR_SIZE, so drop it.

Cc: qemu-stable@nongnu.org
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20161025025431.24714-2-mreitz@redhat.com
Signed-off-by: Jeff Cody <jcody@redhat.com>
block/curl.c