diff mbox

linux-generic: pktio: ipc: remove not needed assignment

Message ID 1463079379-25314-1-git-send-email-maxim.uvarov@linaro.org
State Accepted
Commit cc53ba882a26ec34d75681d9870d476e4b70e75b
Headers show

Commit Message

Maxim Uvarov May 12, 2016, 6:56 p.m. UTC
Not used assigned, should just removed.
https://bugs.linaro.org/show_bug.cgi?id=2221

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 platform/linux-generic/pktio/ipc.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Bill Fischofer May 12, 2016, 11:41 p.m. UTC | #1
On Thu, May 12, 2016 at 1:56 PM, Maxim Uvarov <maxim.uvarov@linaro.org>
wrote:

> Not used assigned, should just removed.

> https://bugs.linaro.org/show_bug.cgi?id=2221

>

> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

>


Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>



> ---

>  platform/linux-generic/pktio/ipc.c | 2 --

>  1 file changed, 2 deletions(-)

>

> diff --git a/platform/linux-generic/pktio/ipc.c

> b/platform/linux-generic/pktio/ipc.c

> index b16c611..12cc286 100644

> --- a/platform/linux-generic/pktio/ipc.c

> +++ b/platform/linux-generic/pktio/ipc.c

> @@ -627,8 +627,6 @@ static int ipc_pktio_send(pktio_entry_t *pktio_entry,

>                         pkt_table_mapped[i] = pkt;

>                 }

>

> -               rbuf_p = (void *)&pkt;

> -

>                 /* buf_hdr.addr can not be used directly in remote process,

>                  * convert it to offset

>                  */

> --

> 2.7.1.250.gff4ea60

>

> _______________________________________________

> lng-odp mailing list

> lng-odp@lists.linaro.org

> https://lists.linaro.org/mailman/listinfo/lng-odp

>
Maxim Uvarov May 13, 2016, 1:48 p.m. UTC | #2
Merged,
Maxim.

On 05/13/16 02:41, Bill Fischofer wrote:
>
>
> On Thu, May 12, 2016 at 1:56 PM, Maxim Uvarov <maxim.uvarov@linaro.org 
> <mailto:maxim.uvarov@linaro.org>> wrote:
>
>     Not used assigned, should just removed.
>     https://bugs.linaro.org/show_bug.cgi?id=2221
>
>     Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org
>     <mailto:maxim.uvarov@linaro.org>>
>
>
> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org 
> <mailto:bill.fischofer@linaro.org>>
>
>     ---
>      platform/linux-generic/pktio/ipc.c | 2 --
>      1 file changed, 2 deletions(-)
>
>     diff --git a/platform/linux-generic/pktio/ipc.c
>     b/platform/linux-generic/pktio/ipc.c
>     index b16c611..12cc286 100644
>     --- a/platform/linux-generic/pktio/ipc.c
>     +++ b/platform/linux-generic/pktio/ipc.c
>     @@ -627,8 +627,6 @@ static int ipc_pktio_send(pktio_entry_t
>     *pktio_entry,
>                             pkt_table_mapped[i] = pkt;
>                     }
>
>     -               rbuf_p = (void *)&pkt;
>     -
>                     /* buf_hdr.addr can not be used directly in remote
>     process,
>                      * convert it to offset
>                      */
>     --
>     2.7.1.250.gff4ea60
>
>     _______________________________________________
>     lng-odp mailing list
>     lng-odp@lists.linaro.org <mailto:lng-odp@lists.linaro.org>
>     https://lists.linaro.org/mailman/listinfo/lng-odp
>
>
diff mbox

Patch

diff --git a/platform/linux-generic/pktio/ipc.c b/platform/linux-generic/pktio/ipc.c
index b16c611..12cc286 100644
--- a/platform/linux-generic/pktio/ipc.c
+++ b/platform/linux-generic/pktio/ipc.c
@@ -627,8 +627,6 @@  static int ipc_pktio_send(pktio_entry_t *pktio_entry,
 			pkt_table_mapped[i] = pkt;
 		}
 
-		rbuf_p = (void *)&pkt;
-
 		/* buf_hdr.addr can not be used directly in remote process,
 		 * convert it to offset
 		 */