Re: [PATCH 9/25] Adapt CCID-4 according to the latest changes to CCID-3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



|  static inline struct ccid4_hc_tx_sock *ccid4_hc_tx_sk(const struct sock *sk)
|  {
| -	void *ccid4_tx_priv = ccid_priv(dccp_sk(sk)->dccps_hc_tx_ccid);
| -
| -	BUG_ON(ccid4_tx_priv == NULL);
| -	return ccid4_tx_priv;
| +    struct ccid4_hc_tx_sock *hctx = ccid_priv(dccp_sk(sk)->dccps_hc_tx_ccid);
| +    BUG_ON(hctx == NULL);
| +    return hctx;

| @@ -177,10 +176,9 @@ struct ccid4_hc_rx_sock {
|  
|  static inline struct ccid4_hc_rx_sock *ccid4_hc_rx_sk(const struct sock *sk)
|  {
| -	void *ccid4_rx_priv = ccid_priv(dccp_sk(sk)->dccps_hc_rx_ccid);
| -
| -	BUG_ON(ccid4_rx_priv == NULL);
| -	return ccid4_rx_priv;
| +    struct ccid4_hc_rx_sock *hcrx = ccid_priv(dccp_sk(sk)->dccps_hc_rx_ccid);
| +    BUG_ON(hcrx == NULL);
| +    return hcrx;

Two instances of re-indenting - also fixed.
-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux