From 7ee582680230f56ad43afc9cbb46e050e1027afb Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Date: Mon, 17 Aug 2015 17:03:43 +0100 Subject: [PATCH] greybus: greybus_protocol: remove unused lights macros Greybus core now handle the _INVALID and PROTOCOL_VERSION types, so no need to have specific protocol macros for this. Just drop them. Signed-off-by: Rui Miguel Silva Reviewed-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/greybus_protocols.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index 32b927f..0c11bec 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -1073,8 +1073,6 @@ struct gb_sdio_event_request { #define GB_LIGHTS_VERSION_MINOR 0x01 /* Greybus Lights request types */ -#define GB_LIGHTS_TYPE_INVALID 0x00 -#define GB_LIGHTS_TYPE_PROTOCOL_VERSION 0x01 #define GB_LIGHTS_TYPE_GET_LIGHTS 0x02 #define GB_LIGHTS_TYPE_GET_LIGHT_CONFIG 0x03 #define GB_LIGHTS_TYPE_GET_CHANNEL_CONFIG 0x04 -- 2.7.4