Remove an unuseful if check in ext4.c.
authorFan Deng <enetor@gmail.com>
Tue, 17 Oct 2017 18:33:18 +0000 (11:33 -0700)
committerFan Deng <enetor@gmail.com>
Tue, 17 Oct 2017 18:33:18 +0000 (11:33 -0700)
commitab4ed9a604bc6bc797dfa7e01e3612f1bc915bdd
tree3146833fd2755882b92c61213bb26ab232a129ae
parentd9ca5ea27b833522557cbcd2b382d01a14866c76
Remove an unuseful if check in ext4.c.

The if check on s_bdevices[i].name is unuseful, as 'name' always
evaluates to true:
    if (s_bdevices[i].name) {
        ...
    }
This change removes the check to be consistent with the rest of the code
(see line 124 and 144).
src/ext4.c