Subject: Re: [iproute2-next 1/1] tipc: Add support to set and get MTU for UDP bearer

From: Stephen Hemminger <[email-masked]>
Date: Mon, 7 May 2018 07:46:26 -0700

On Mon, 7 May 2018 13:14:33 +0200
GhantaKrishnamurthy MohanKrishna         <[email-masked]> wrote:

> +				struct opt *opts)
> +{
> +	struct opt *opt;
> +
> +	if (!(opt = get_opt(opts, "media"))) {

You don't need to have assignment in conditional context in this case.
Please split the assignment and the if.