diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-09 22:05:14 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2015-08-09 22:05:14 +0200 |
commit | 8c9e4efa17455ba801442a78ff4a4f5711727e83 (patch) | |
tree | 0923e19d96e02fe9f0d74726435f3762d6416963 /sys/src | |
parent | 7ba3be82a713597a632ebfc8ae25f0bbed21cd31 (diff) |
zunq: remove unused variables from devqspi
Diffstat (limited to 'sys/src')
-rw-r--r-- | sys/src/9/zynq/devqspi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/src/9/zynq/devqspi.c b/sys/src/9/zynq/devqspi.c index 8c920d0f7..01c9db301 100644 --- a/sys/src/9/zynq/devqspi.c +++ b/sys/src/9/zynq/devqspi.c @@ -110,7 +110,7 @@ waitbusy(void) static ulong doread(uvlong addr, void *a, ulong n) { - ulong d, *aa, nn, ret; + ulong d, *aa, ret; if(addr >= QSPISIZ) return 0; @@ -220,8 +220,6 @@ qspiclose(Chan* c) static long qspiread(Chan *c, void *a, long n, vlong offset) { - char buf[64]; - switch((ulong)c->qid.path){ case Qdir: return devdirread(c, a, n, qspidir, nqspidir, devgen); |