mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
sd-device: drop unnecessary parenthesis
This commit is contained in:
@@ -1419,7 +1419,7 @@ int device_read_db_internal_filename(sd_device *device, const char *filename) {
|
||||
|
||||
device->db_loaded = true;
|
||||
|
||||
for (size_t i = 0; i < db_len; i++) {
|
||||
for (size_t i = 0; i < db_len; i++)
|
||||
switch (state) {
|
||||
case PRE_KEY:
|
||||
if (!strchr(NEWLINE, db[i])) {
|
||||
@@ -1467,7 +1467,6 @@ int device_read_db_internal_filename(sd_device *device, const char *filename) {
|
||||
default:
|
||||
return log_device_debug_errno(device, SYNTHETIC_ERRNO(EINVAL), "sd-device: invalid db syntax.");
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user