staging: cxt1e1: remove unnecessary function, VMETRO_TRACE
PATCH 1/1 staging: cxt1e1: remove unnecessary function, VMETRO_TRACE
VMETRO_TRACE isn't called from anywhere. So delete it.
Signed-off-by SeongJae Park <[email protected]>
--- drivers/staging/cxt1e1/functions.c | 9 --------- drivers/staging/cxt1e1/pmcc4.h | 1 - 2 files changed, 10 deletions(-)
drivers/staging/cxt1e1/functions.c +0 -9
@@ -263,15 +263,6 @@ void sd_recv_consume(void *token, size_t len, void *user)extern ci_t *CI ;/* dummy pointer to board ZERO's data */ void -VMETRO_TRACE (void *x) -{ -u_int32_t y = (u_int32_t ) x; - -pci_write_32 ((u_int32_t *) &CI ->cpldbase->leds, y); -} - - -void VMETRO_TRIGGER (ci_t *ci,int x) {struct s_comet_reg *comet;
drivers/staging/cxt1e1/pmcc4.h +0 -1
@@ -96,7 +96,6 @@ void sbeid_set_bdtype (ci_t *ci);void sbeid_set_hdwbid (ci_t *ci);u_int32_t sbeCrc (u_int8_t *,u_int32_t ,u_int32_t ,u_int32_t *); -void VMETRO_TRACE (void *);/* put data into 8 LEDs */ void VMETRO_TRIGGER (ci_t *,int );/* Note: int = 0(default) * thru 15 */
Signature · 1 line
1.8.3.2
Quoted 3 lines · SeongJae Park
VMETRO_TRACEisn't called from anywhere. So delete it.Signed-off-by SeongJae Park <[email protected]>
Thanks!
Reviewed-by Dan Carpenter <[email protected]>
regards,
dan carpenter