diff options
| author | SeongJae Park <sj38.park@gmail.com> | 2014-02-04 12:36:39 +0400 |
|---|---|---|
| committer | Ben Hutchings <ben@decadent.org.uk> | 2017-11-11 16:34:47 +0300 |
| commit | cccfdc35d860253f4ce300061c3dc548a9353fbb (patch) | |
| tree | abfb01eafecd15f31bb4bca8b778d5f701a5f565 | |
| parent | b80b24210a8bde6dd3f0a0c559b1db1231029998 (diff) | |
| download | linux-cccfdc35d860253f4ce300061c3dc548a9353fbb.tar.xz | |
staging: cxt1e1: remove unnecessary function, VMETRO_TRACE
commit ce8386da7488c998969288355111996c2c23c892 upstream.
VMETRO_TRACE isn't called from anywhere. So delete it.
Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
| -rw-r--r-- | drivers/staging/cxt1e1/functions.c | 9 | ||||
| -rw-r--r-- | drivers/staging/cxt1e1/pmcc4.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/cxt1e1/functions.c b/drivers/staging/cxt1e1/functions.c index d9a9aa3571d9..a98729e85e24 100644 --- a/drivers/staging/cxt1e1/functions.c +++ b/drivers/staging/cxt1e1/functions.c @@ -270,15 +270,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) { comet_t *comet; diff --git a/drivers/staging/cxt1e1/pmcc4.h b/drivers/staging/cxt1e1/pmcc4.h index e046b87763a2..d92ea7d2f5d2 100644 --- a/drivers/staging/cxt1e1/pmcc4.h +++ b/drivers/staging/cxt1e1/pmcc4.h @@ -138,7 +138,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 */ |
