diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-09-05 10:22:45 -0400 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2012-09-05 10:22:45 -0400 |
commit | 593d0a3e9f813db910dc50574532914db21d09ff (patch) | |
tree | 12d8413ee57b4383ca8c906996ffe02be6d377a5 /include/net/timewait_sock.h | |
parent | 50e900417b8096939d12a46848f965e27a905e36 (diff) | |
parent | 4cb38750d49010ae72e718d46605ac9ba5a851b4 (diff) |
Merge commit '4cb38750d49010ae72e718d46605ac9ba5a851b4' into stable/for-linus-3.6
* commit '4cb38750d49010ae72e718d46605ac9ba5a851b4': (6849 commits)
bcma: fix invalid PMU chip control masks
[libata] pata_cmd64x: whitespace cleanup
libata-acpi: fix up for acpi_pm_device_sleep_state API
sata_dwc_460ex: device tree may specify dma_channel
ahci, trivial: fixed coding style issues related to braces
ahci_platform: add hibernation callbacks
libata-eh.c: local functions should not be exposed globally
libata-transport.c: local functions should not be exposed globally
sata_dwc_460ex: support hardreset
ata: use module_pci_driver
drivers/ata/pata_pcmcia.c: adjust suspicious bit operation
pata_imx: Convert to clk_prepare_enable/clk_disable_unprepare
ahci: Enable SB600 64bit DMA on MSI K9AGM2 (MS-7327) v2
[libata] Prevent interface errors with Seagate FreeAgent GoFlex
drivers/acpi/glue: revert accidental license-related 6b66d95895c bits
libata-acpi: add missing inlines in libata.h
i2c-omap: Add support for I2C_M_STOP message flag
i2c: Fall back to emulated SMBus if the operation isn't supported natively
i2c: Add SCCB support
i2c-tiny-usb: Add support for the Robofuzz OSIF USB/I2C converter
...
Diffstat (limited to 'include/net/timewait_sock.h')
-rw-r--r-- | include/net/timewait_sock.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/net/timewait_sock.h b/include/net/timewait_sock.h index 8d6689cb2c66..68f0ecad6c6e 100644 --- a/include/net/timewait_sock.h +++ b/include/net/timewait_sock.h | |||
@@ -22,7 +22,6 @@ struct timewait_sock_ops { | |||
22 | int (*twsk_unique)(struct sock *sk, | 22 | int (*twsk_unique)(struct sock *sk, |
23 | struct sock *sktw, void *twp); | 23 | struct sock *sktw, void *twp); |
24 | void (*twsk_destructor)(struct sock *sk); | 24 | void (*twsk_destructor)(struct sock *sk); |
25 | void *(*twsk_getpeer)(struct sock *sk); | ||
26 | }; | 25 | }; |
27 | 26 | ||
28 | static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) | 27 | static inline int twsk_unique(struct sock *sk, struct sock *sktw, void *twp) |
@@ -41,11 +40,4 @@ static inline void twsk_destructor(struct sock *sk) | |||
41 | sk->sk_prot->twsk_prot->twsk_destructor(sk); | 40 | sk->sk_prot->twsk_prot->twsk_destructor(sk); |
42 | } | 41 | } |
43 | 42 | ||
44 | static inline void *twsk_getpeer(struct sock *sk) | ||
45 | { | ||
46 | if (sk->sk_prot->twsk_prot->twsk_getpeer) | ||
47 | return sk->sk_prot->twsk_prot->twsk_getpeer(sk); | ||
48 | return NULL; | ||
49 | } | ||
50 | |||
51 | #endif /* _TIMEWAIT_SOCK_H */ | 43 | #endif /* _TIMEWAIT_SOCK_H */ |