D-Bus: Remove unused wpas_dbus_signal_p2p_group_started() parameter
authorJouni Malinen <j@w1.fi>
Mon, 30 May 2016 14:40:05 +0000 (17:40 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 30 May 2016 14:56:41 +0000 (17:56 +0300)
The ssid pointer was not used.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/dbus/dbus_new.c
wpa_supplicant/dbus/dbus_new.h
wpa_supplicant/notify.c

index db83b3e..0263b2c 100644 (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
  *
  * @wpa_s: %wpa_supplicant network interface data
- * @ssid: SSID object
  * @client: this device is P2P client
  * @persistent: 0 - non persistent group, 1 - persistent group
  */
 void wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s,
-                                       const struct wpa_ssid *ssid,
                                        int client, int persistent)
 {
        DBusMessage *msg;
index 9b4ad09..d64fcee 100644 (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,
                                     u8 go_intent);
 void wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s,
-                                       const struct wpa_ssid *ssid,
                                        int client, int persistent);
 void wpas_dbus_signal_p2p_group_formation_failure(struct wpa_supplicant *wpa_s,
                                                  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
 wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s,
-                                  const struct wpa_ssid *ssid,
                                   int client, int persistent)
 {
 }
index 9268e44..67e36ae 100644 (file)
@@ -674,7 +674,7 @@ void wpas_notify_p2p_group_started(struct wpa_supplicant *wpa_s,
        /* Notify a group has been started */
        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);
 }