Skip to content

Commit

Permalink
Remove redundant debug statements from disk.c.
Browse files Browse the repository at this point in the history
Calls to disk_ret with an error code already log - don't log twice.
  • Loading branch information
KevinOConnor committed Mar 23, 2008
1 parent aa2590c commit f04d5c7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/disk.c
Expand Up @@ -537,7 +537,6 @@ disk_134e06(struct bregs *regs, u8 device)
static void
disk_134eXX(struct bregs *regs, u8 device)
{
debug_stub(regs);
disk_ret(regs, DISK_RET_EPARAM);
}

Expand All @@ -557,7 +556,6 @@ disk_134e(struct bregs *regs, u8 device)
void
disk_13XX(struct bregs *regs, u8 device)
{
debug_stub(regs);
disk_ret(regs, DISK_RET_EPARAM);
}

Expand Down

0 comments on commit f04d5c7

Please sign in to comment.