[Skiboot] [PATCH 05/22] FSP/LEDS: Remove unnecessary forward declaration

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Thu Feb 5 19:38:44 AEDT 2015


Remove unnecessary forward declaration.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hw/fsp/fsp-leds.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hw/fsp/fsp-leds.c b/hw/fsp/fsp-leds.c
index bc1e626..3d771eb 100644
--- a/hw/fsp/fsp-leds.c
+++ b/hw/fsp/fsp-leds.c
@@ -67,7 +67,6 @@ static u32 last_spcn_cmd;
 static int replay = 0;
 
 
-static void fsp_leds_query_spcn(void);
 static void fsp_read_leds_data_complete(struct fsp_msg *msg);
 
 DEFINE_LOG_ENTRY(OPAL_RC_LED_SPCN, OPAL_PLATFORM_ERR_EVT, OPAL_LED,
@@ -1202,7 +1201,7 @@ static void fsp_read_leds_data_complete(struct fsp_msg *msg)
  * on LED. Also need to be called to re-fetch data from SPCN after any LED state
  * have been updated.
  */
-static void fsp_leds_query_spcn()
+static void fsp_leds_query_spcn(void)
 {
 	struct fsp_led_data *led = NULL;
 	int rc = 0;



More information about the Skiboot mailing list