projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ab492
)
diskio: remove redundant register write
author
Don Hiatt
<donhiatt@gmail.com>
Fri, 13 Aug 2010 16:51:12 +0000
(09:51 -0700)
committer
H. Peter Anvin
<hpa@linux.intel.com>
Fri, 13 Aug 2010 21:58:30 +0000
(14:58 -0700)
The disk number is set twice in diskio.c/edd_rdwr_sectors() this patch
removes the redundant setting.
core/fs/diskio.c
patch
|
blob
|
history
diff --git
a/core/fs/diskio.c
b/core/fs/diskio.c
index
481b59b
..
38d3da3
100644
(file)
--- a/
core/fs/diskio.c
+++ b/
core/fs/diskio.c
@@
-163,8
+163,6
@@
static int edd_rdwr_sectors(struct disk *disk, void *buf,
memset(&reset, 0, sizeof reset);
- ireg.edx.b[0] = disk->disk_number;
-
lba += disk->part_start;
while (count) {
chunk = count;