diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-06-02 20:00:36 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-06-02 20:00:36 +0000 |
commit | f6ad12112070dcf07952a04f53f35060fcee5ac9 (patch) | |
tree | 3878c6f64274cf0d0cd5eafd5b4b98e050b09d9a /drivers/dahdi/xpp/xbus-core.c | |
parent | 92bdc098861b2c8e817bb778afe6de171dc14d8b (diff) |
Remove unused variables.
gcc-4.6 now warns about variables that are set but never used. Clean up
unused variables everywhere except the oct612x subdirectory.
The oct612x should go in a separate patch in case that needs to be
pulled out into a separate project again.
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9929 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xbus-core.c')
-rw-r--r-- | drivers/dahdi/xpp/xbus-core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/xbus-core.c b/drivers/dahdi/xpp/xbus-core.c index bd4a003..d558a75 100644 --- a/drivers/dahdi/xpp/xbus-core.c +++ b/drivers/dahdi/xpp/xbus-core.c @@ -1453,7 +1453,6 @@ static int xbus_fill_proc_queue(char *p, struct xframe_queue *q) static int xbus_read_proc(char *page, char **start, off_t off, int count, int *eof, void *data) { xbus_t *xbus; - struct xbus_workqueue *worker; unsigned long flags; int len = 0; int i = (int)((unsigned long)data); @@ -1462,7 +1461,6 @@ static int xbus_read_proc(char *page, char **start, off_t off, int count, int *e if(!xbus) goto out; spin_lock_irqsave(&xbus->lock, flags); - worker = &xbus->worker; len += sprintf(page + len, "%s: CONNECTOR=%s LABEL=[%s] STATUS=%s\n", xbus->busname, |