D-Bus: Remove unused wpas_dbus_signal_p2p_group_started() parameter

The ssid pointer was not used.

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2016-05-30 17:40:05 +03:00
parent 4fe50bbc8e
commit f4b4ddfdd9
3 changed files with 1 additions and 5 deletions

View file

@ -1254,12 +1254,10 @@ static void peer_groups_changed(struct wpa_supplicant *wpa_s)
* irrespective of the role (client/GO) of the current device * irrespective of the role (client/GO) of the current device
* *
* @wpa_s: %wpa_supplicant network interface data * @wpa_s: %wpa_supplicant network interface data
* @ssid: SSID object
* @client: this device is P2P client * @client: this device is P2P client
* @persistent: 0 - non persistent group, 1 - persistent group * @persistent: 0 - non persistent group, 1 - persistent group
*/ */
void wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s, void wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s,
const struct wpa_ssid *ssid,
int client, int persistent) int client, int persistent)
{ {
DBusMessage *msg; DBusMessage *msg;

View file

@ -190,7 +190,6 @@ void wpas_dbus_signal_p2p_go_neg_req(struct wpa_supplicant *wpa_s,
const u8 *src, u16 dev_passwd_id, const u8 *src, u16 dev_passwd_id,
u8 go_intent); u8 go_intent);
void wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s, void wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s,
const struct wpa_ssid *ssid,
int client, int persistent); int client, int persistent);
void wpas_dbus_signal_p2p_group_formation_failure(struct wpa_supplicant *wpa_s, void wpas_dbus_signal_p2p_group_formation_failure(struct wpa_supplicant *wpa_s,
const char *reason); const char *reason);
@ -401,7 +400,6 @@ static inline void wpas_dbus_signal_p2p_go_neg_req(struct wpa_supplicant *wpa_s,
static inline void static inline void
wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s, wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s,
const struct wpa_ssid *ssid,
int client, int persistent) int client, int persistent)
{ {
} }

View file

@ -674,7 +674,7 @@ void wpas_notify_p2p_group_started(struct wpa_supplicant *wpa_s,
/* Notify a group has been started */ /* Notify a group has been started */
wpas_dbus_register_p2p_group(wpa_s, ssid); wpas_dbus_register_p2p_group(wpa_s, ssid);
wpas_dbus_signal_p2p_group_started(wpa_s, ssid, client, persistent); wpas_dbus_signal_p2p_group_started(wpa_s, client, persistent);
} }