Remove suspicious unconditional return

This return effectively disables the log_kernel function
This commit is contained in:
Tobias Blass 2018-06-05 23:27:35 +02:00
parent 0f71547032
commit d6d292897f

View file

@ -160,7 +160,6 @@ static void log_distro() {
} }
static void log_kernel() { static void log_kernel() {
return;
FILE *f = popen("uname -a", "r"); FILE *f = popen("uname -a", "r");
if (!f) { if (!f) {
wlr_log(L_INFO, "Unable to determine kernel version"); wlr_log(L_INFO, "Unable to determine kernel version");