.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * Cryptographic API for the NX-842 hardware compression. |
---|
3 | | - * |
---|
4 | | - * This program is free software; you can redistribute it and/or modify |
---|
5 | | - * it under the terms of the GNU General Public License as published by |
---|
6 | | - * the Free Software Foundation; either version 2 of the License, or |
---|
7 | | - * (at your option) any later version. |
---|
8 | | - * |
---|
9 | | - * This program is distributed in the hope that it will be useful, |
---|
10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
12 | | - * GNU General Public License for more details. |
---|
13 | 4 | * |
---|
14 | 5 | * Copyright (C) IBM Corporation, 2011-2015 |
---|
15 | 6 | * |
---|
.. | .. |
---|
353 | 344 | unsigned int adj_slen = slen; |
---|
354 | 345 | u8 *src = p->in, *dst = p->out; |
---|
355 | 346 | u16 padding = be16_to_cpu(g->padding); |
---|
356 | | - int ret, spadding = 0, dpadding = 0; |
---|
| 347 | + int ret, spadding = 0; |
---|
357 | 348 | ktime_t timeout; |
---|
358 | 349 | |
---|
359 | 350 | if (!slen || !required_len) |
---|
.. | .. |
---|
413 | 404 | spadding = 0; |
---|
414 | 405 | dst = p->out; |
---|
415 | 406 | dlen = p->oremain; |
---|
416 | | - dpadding = 0; |
---|
417 | 407 | if (dlen < required_len) { /* have ignore bytes */ |
---|
418 | 408 | dst = ctx->dbounce; |
---|
419 | 409 | dlen = BOUNCE_BUFFER_SIZE; |
---|