From b7f9aedfac2d2cb55acb23e6a6d81b2c13f75eec Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Thu, 21 Nov 2013 15:37:57 +0000 Subject: [PATCH] * grub-core/normal/progress.c: Remove unused file. --- ChangeLog | 4 ++++ grub-core/normal/progress.c | 21 --------------------- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 grub-core/normal/progress.c diff --git a/ChangeLog b/ChangeLog index 4c410bcb2..fb8347f5e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2013-11-21 Colin Watson + + * grub-core/normal/progress.c: Remove unused file. + 2013-11-20 Vladimir Serbinenko * grub-core/lib/crypto.c (grub_crypto_hash): Remove variable length diff --git a/grub-core/normal/progress.c b/grub-core/normal/progress.c deleted file mode 100644 index 77a64b1bb..000000000 --- a/grub-core/normal/progress.c +++ /dev/null @@ -1,21 +0,0 @@ - -static void -grub_file_progress_hook_real (grub_disk_addr_t sector, - unsigned offset, unsigned length, - void *data) -{ - grub_file_t file = data; - file->progress_offset += length; - show_progress (file->progress_offset, file->size); -} - - -GRUB_MOD_INIT (progress) -{ - grub_file_progress_hook = grub_file_progress_hook_real; -} - -GRUB_MOD_FINI (progress) -{ - grub_file_progress_hook = 0; -}