authkey: Remove pa_authkey_load(), it's redundant

The only place where pa_authkey_load() was called was in
pa_authkey_load_auto(), and the only functionality that
pa_authkey_load() was to log a warning if load() fails. That log
message is now in pa_authkey_load_auto(), so pa_authkey_load() has no
use any more.
This commit is contained in:
Tanu Kaskinen 2014-06-08 16:32:55 +03:00
parent 5141188ca8
commit a54d357729
2 changed files with 3 additions and 16 deletions

View file

@ -24,7 +24,6 @@
#include <sys/types.h>
int pa_authkey_load(const char *path, bool create, void *data, size_t len);
int pa_authkey_load_auto(const char *fn, bool create, void *data, size_t length);
int pa_authkey_save(const char *path, const void *data, size_t length);