projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
456479e
)
Minor - compile out usb-msc code if CONFIG_USB_MSC not set.
author
Kevin O'Connor
<kevin@koconnor.net>
Sun, 23 May 2010 14:21:00 +0000
(10:21 -0400)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sun, 23 May 2010 14:21:00 +0000
(10:21 -0400)
src/usb-msc.c
patch
|
blob
|
history
diff --git
a/src/usb-msc.c
b/src/usb-msc.c
index e91d9161c0ebe1db31e723d43f55d6ec26466577..52fb58a935d84aa13fb2ca7371af4148c68f9d2c 100644
(file)
--- a/
src/usb-msc.c
+++ b/
src/usb-msc.c
@@
-111,6
+111,8
@@
fail:
int
process_usb_op(struct disk_op_s *op)
{
+ if (!CONFIG_USB_MSC)
+ return 0;
switch (op->command) {
case CMD_READ:
return cdb_read(op);