[07/13] installer: Remove unused variables

Message ID 20240405125942.1803058-7-michael.tremer@ipfire.org
State Staged
Commit cebe531b7050159b5a32b18fa37e8e656ce53bab
Headers
Series [01/13] installer: Update language files |

Commit Message

Michael Tremer April 5, 2024, 12:59 p.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/installer/hw.c | 3 ---
 1 file changed, 3 deletions(-)
  

Patch

diff --git a/src/installer/hw.c b/src/installer/hw.c
index f05608fd1..039f8ac26 100644
--- a/src/installer/hw.c
+++ b/src/installer/hw.c
@@ -131,8 +131,6 @@  static int strstartswith(const char* a, const char* b) {
 	return (strncmp(a, b, strlen(b)) == 0);
 }
 
-static char loop_device[STRING_SIZE];
-
 static int setup_loop_device(const char* source, const char* device) {
 	int file_fd = open(source, O_RDWR);
 	if (file_fd < 0)
@@ -1184,7 +1182,6 @@  static int hw_umount_btrfs_layout() {
 
 int hw_umount_filesystems(struct hw_destination* dest, const char* prefix) {
 	int r;
-	char target[STRING_SIZE];
 
 	// Write all buffers to disk before umounting
 	hw_sync();