[ofw] [PATCH] srp_connection.c - unused formal argument - remove from function

Smith, Stan stan.smith at intel.com
Mon Nov 30 12:11:47 PST 2009


Remove ca_guid from srp_init_connection() as it is no longer referenced due to svn.2605.

Signed-off-by: stan smith <stan.smith at intel.com>


--- a/ulp/srp/kernel/srp_connection.c   Mon Nov 30 12:03:14 2009
+++ b/ulp/srp/kernel/srp_connection.c   Mon Nov 30 11:22:18 2009
@@ -699,7 +699,6 @@

 @param p_connection   - pointer to the connection structure
 @param p_profile      - Pointer to IOC profile.
- at param ca_guid        - Local CA GUID to use in as initiator GUID.
 @param ext_id         - Initiator and target extension ID.
 @param p_path_rec     - pointer to the path to the target
 @param service_id     - service id to which we want to connect
@@ -710,7 +709,6 @@
 srp_init_connection(
        IN      OUT     srp_connection_t                *p_connection,
        IN              ib_ioc_profile_t* const p_profile,
-       IN              net64_t                                 ca_guid,
        IN              net64_t                                 ext_id,
        IN      ib_path_rec_t           *p_path_rec,
        IN              ib_net64_t                              service_id )


--- a/ulp/srp/kernel/srp_connection.h   Mon Nov 30 12:03:43 2009
+++ b/ulp/srp/kernel/srp_connection.h   Mon Nov 30 11:22:14 2009
@@ -102,7 +102,6 @@
 srp_init_connection(
        IN OUT  srp_connection_t        *p_connection,
        IN              ib_ioc_profile_t* const p_profile,
-       IN              net64_t                                 ca_guid,
        IN              net64_t                                 ext_id,
        IN      ib_path_rec_t           *p_path_rec,
        IN      ib_net64_t              service_id );


--- a/ulp/srp/kernel/srp_session.c      Mon Nov 30 12:04:15 2009
+++ b/ulp/srp/kernel/srp_session.c      Mon Nov 30 11:21:39 2009
@@ -277,7 +277,6 @@

        *p_status = srp_init_connection( &p_srp_session->connection,
                                                                        &p_hba->ioc_info.profile,
-                                                                       p_hba->info.ca_guid,
                                                                        target_id_extension,
                                                                        p_path_rec,
                                                                        p_svc_entry->id );




More information about the ofw mailing list