diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-12-13 23:35:21 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-12-13 23:35:21 +0100 |
commit | a03d9a7985c7a2a6e72c997921c6fa4e73cddaca (patch) | |
tree | f903fd9980662d25e4c7121fb91973ef707079b0 /sys/src/9/pc/audioac97.c | |
parent | 4b8eb68f8d4fec6e49d03f1aceea68df0543aeeb (diff) |
kernel: more alloc stuff
Diffstat (limited to 'sys/src/9/pc/audioac97.c')
-rw-r--r-- | sys/src/9/pc/audioac97.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/src/9/pc/audioac97.c b/sys/src/9/pc/audioac97.c index ea0e16016..e0732dd6b 100644 --- a/sys/src/9/pc/audioac97.c +++ b/sys/src/9/pc/audioac97.c @@ -389,10 +389,6 @@ ac97reset(Audio *adev) p = nil; while(p = ac97match(p)){ ctlr = xspanalloc(sizeof(Ctlr), 8, 0); - if(ctlr == nil){ - print("ac97: can't allocate memory\n"); - break; - } memset(ctlr, 0, sizeof(Ctlr)); ctlr->pcidev = p; ctlr->next = cards; |