Skip to content

Commit

Permalink
staging: cxt1e1: remove unnecessary function, VMETRO_TRACE
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
SeongJae Park authored and Greg Kroah-Hartman committed Feb 7, 2014
1 parent 0b15862 commit ce8386d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions drivers/staging/cxt1e1/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,6 @@ void sd_recv_consume(void *token, size_t len, void *user)
#include "comet.h"

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)
{
Expand Down
1 change: 0 additions & 1 deletion drivers/staging/cxt1e1/pmcc4.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit ce8386d

Please sign in to comment.