diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-12-07 10:19:10 -0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2012-01-18 10:23:38 -0200 |
commit | a6aa9d3e2681199d159963e46524625d90669619 (patch) | |
tree | 4372e0694baa343a67169491f7b20f0916376be2 /console.h | |
parent | 8c4ec5c0269bda18bb777a64b2008088d1c632dc (diff) |
vnc: Simplify vnc_display_password()
Drop the qerror_report() call from it and let its callers set the error
themselves. This also allows for dropping the 'ret' variable.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'console.h')
-rw-r--r-- | console.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -384,7 +384,6 @@ int vnc_display_pw_expire(DisplayState *ds, time_t expires); #else static inline int vnc_display_password(DisplayState *ds, const char *password) { - qerror_report(QERR_FEATURE_DISABLED, "vnc"); return -ENODEV; } static inline int vnc_display_pw_expire(DisplayState *ds, time_t expires) |