diff options
author | Luis Claudio R. Goncalves <lgoncalv@redhat.com> | 2021-07-05 17:58:22 -0300 |
---|---|---|
committer | Luis Claudio R. Goncalves <lgoncalv@redhat.com> | 2021-07-05 17:58:22 -0300 |
commit | 35155e70f37271dcd971b2f5067b022f728d3a83 (patch) | |
tree | 0e259729d11677b016a47dcdf16d561912dd0ccf /net/caif/cfserl.c | |
parent | f11e2b11b6871c031fac201cd2625de4696a63bf (diff) | |
parent | d98bf8b949c03b840010c5a4f2671b7c79019d76 (diff) | |
download | linux-rt-35155e70f37271dcd971b2f5067b022f728d3a83.tar.gz |
Merge tag 'v4.9.272' into v4.9-rt
Signed-off-by: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
Diffstat (limited to 'net/caif/cfserl.c')
-rw-r--r-- | net/caif/cfserl.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/caif/cfserl.c b/net/caif/cfserl.c index ce60f06d76de..af1e1e36dc90 100644 --- a/net/caif/cfserl.c +++ b/net/caif/cfserl.c @@ -31,6 +31,11 @@ static int cfserl_transmit(struct cflayer *layr, struct cfpkt *pkt); static void cfserl_ctrlcmd(struct cflayer *layr, enum caif_ctrlcmd ctrl, int phyid); +void cfserl_release(struct cflayer *layer) +{ + kfree(layer); +} + struct cflayer *cfserl_create(int instance, bool use_stx) { struct cfserl *this = kzalloc(sizeof(struct cfserl), GFP_ATOMIC); |