ref: 8c9e4efa17455ba801442a78ff4a4f5711727e83
parent: 7ba3be82a713597a632ebfc8ae25f0bbed21cd31
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Aug 9 18:05:14 EDT 2015
zunq: remove unused variables from devqspi
--- a/sys/src/9/zynq/devqspi.c
+++ b/sys/src/9/zynq/devqspi.c
@@ -110,7 +110,7 @@
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 @@
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);