summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorRevanth Rajashekar <revanth.rajashekar@intel.com>2019-08-20 17:30:51 +0200
committerJens Axboe <axboe@kernel.dk>2019-08-20 17:34:49 +0200
commit238bdcdf5d0a087f8930c82b7c7cc142ca9399ce (patch)
tree5e785201a94f860a237a3125c7f0f231690b6961 /block
parentblock: sed-opal: Remove always false conditional statement (diff)
downloadlinux-238bdcdf5d0a087f8930c82b7c7cc142ca9399ce.tar.xz
linux-238bdcdf5d0a087f8930c82b7c7cc142ca9399ce.zip
block: sed-opal: Removed duplicate OPAL_METHOD_LENGTH definition
The original commit adding the sed-opal library by mistake added two definitions of OPAL_METHOD_LENGTH, remove one of them. Signed-off-by: Revanth Rajashekar <revanth.rajashekar@intel.com> Reviewed-by: Scott Bauer <sbauer@plzdonthack.me> Reviewed-by: Jon Derrick <jonathan.derrick@intel.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/opal_proto.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/opal_proto.h b/block/opal_proto.h
index 562b78f40824..5532412d567c 100644
--- a/block/opal_proto.h
+++ b/block/opal_proto.h
@@ -119,8 +119,6 @@ enum opal_uid {
OPAL_UID_HEXFF,
};
-#define OPAL_METHOD_LENGTH 8
-
/* Enum for indexing the OPALMETHOD array */
enum opal_method {
OPAL_PROPERTIES,