gtphub: cosmetic

During the peer review session with Holger, these things were deemed fixable.

No need to have a static gtp_packet_desc in gtphub_handle_buf.

No need to memcpy, direct assignment does the job.

Remove obsolete comments.

Fix a stray space.

Sponsored-by: On-Waves ehi
diff --git a/openbsc/src/gprs/gtphub.c b/openbsc/src/gprs/gtphub.c
index 2ae8678..d9c4431 100644
--- a/openbsc/src/gprs/gtphub.c
+++ b/openbsc/src/gprs/gtphub.c
@@ -132,7 +132,7 @@
 
 void gsn_addr_copy(struct gsn_addr *gsna, const struct gsn_addr *src)
 {
-	memcpy(gsna, src, sizeof(struct gsn_addr));
+	*gsna = *src;
 }
 
 int gsn_addr_from_sockaddr(struct gsn_addr *gsna, uint16_t *port,
@@ -1437,7 +1437,6 @@
 {
 	int plane_idx;
 
-	/* TODO enforce a Request only from SGSN, a Response only from GGSN? */
 	osmo_static_assert((GTPH_PLANE_CTRL == 0) && (GTPH_PLANE_USER == 1),
 			   plane_nrs_match_GSN_addr_IE_indices);
 
@@ -1769,8 +1768,8 @@
 	*seq = hton16(nr_pool_next(&te->peer->peer_addr->peer->seq_pool));
 
 	struct gtphub_bind *to_bind = &hub->to_gsns[to_side][GTPH_PLANE_CTRL];
-	int rc =  gtphub_write(&to_bind->ofd, &te->peer->sa,
-			       del_ctx_msg, sizeof(del_ctx_msg));
+	int rc = gtphub_write(&to_bind->ofd, &te->peer->sa,
+			      del_ctx_msg, sizeof(del_ctx_msg));
 	if (rc != 0) {
 		LOG(LOGL_ERROR,
 		    "Failed to send out-of-band Delete PDP Context Request to %s\n",
@@ -2051,10 +2050,6 @@
 		      struct osmo_fd **to_ofd,
 		      struct osmo_sockaddr *to_addr)
 {
-	/*
-	struct gtphub_bind *from_bind_arr = hub->to_ggsns;
-	struct gtphub_bind *to_bind_arr = hub->to_sgsns;
-	*/
 	struct gtphub_bind *from_bind = &hub->to_gsns[side_idx][plane_idx];
 	struct gtphub_bind *to_bind = &hub->to_gsns[other_side_idx(side_idx)][plane_idx];
 
@@ -2066,7 +2061,7 @@
 	    gtphub_side_idx_names[side_idx],
 	    osmo_sockaddr_to_str(from_addr));
 
-	static struct gtp_packet_desc p;
+	struct gtp_packet_desc p;
 	gtp_decode(buf, received, side_idx, plane_idx, &p, now);
 
 	if (p.rc <= 0)