mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 06:49:35 +00:00
* grub-core/fs/ntfs.c (grub_ntfs_mount): Remove redundant check.
Saves 5 bytes on compressed image.
This commit is contained in:
1 parent
64a6c791e1
commit
067e6ae74d
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -907,7 +907,7 @@ grub_ntfs_mount (grub_disk_t disk)
|
||||
spc = (((grub_uint32_t) bpb.sectors_per_cluster
|
||||
* (grub_uint32_t) grub_le_to_cpu16 (bpb.bytes_per_sector))
|
||||
>> GRUB_NTFS_BLK_SHR);
|
||||
if (spc == 0 || (spc & (spc - 1)))
|
||||
if (spc == 0)
|
||||
goto fail;
|
||||
|
||||
for (data->log_spc = 0; (1U << data->log_spc) < spc; data->log_spc++);
|
||||
|
||||
Reference in new issue
Block a user