From b7d90be09379e6ec06a6ae13b435b20ccd5d6230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Lyson=C4=9Bk?= Date: Mon, 13 Feb 2017 16:08:11 +0100 Subject: [PATCH] Remove an unreachable return statement This also makes a pylint error message go away. --- tuned/admin/admin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tuned/admin/admin.py b/tuned/admin/admin.py index 0fb6ab6..dea8a4e 100644 --- a/tuned/admin/admin.py +++ b/tuned/admin/admin.py @@ -214,7 +214,6 @@ class Admin(object): else: self._error("Requested profile '%s' doesn't exist." % profile_name) return False - return self._profile_print_status(self, ret, msg) def _action_dbus_recommend_profile(self): print(self._controller.recommend_profile())