From: Marton Nemeth Date: Sun, 4 Oct 2009 16:54:48 +0000 (-0300) Subject: V4L/DVB (13119): gspca - pac7311: remove magic value for USB_BUF_SZ X-Git-Tag: v2.6.33-rc1~338^2~284 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24067bb552ae8be647372359d6a3ea6ce7de1525;p=pandora-kernel.git V4L/DVB (13119): gspca - pac7311: remove magic value for USB_BUF_SZ The length check in reg_w_var() function is because the buffer contents is copied to gspca_dev->usb_buf which has the size of USB_BUF_SZ bytes as defined in drivers/media/video/gspca/gspca.h. Replace the number with symbol for better readability and maintainability. Signed-off-by: Marton Nemeth Signed-off-by: Jean-Francois Moine Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed