Commit 87be41f09ac9 ("char/agp: Remove frontend code") removed the implementation but leave declaration. Signed-off-by: Yue Haibing <yuehaibing@xxxxxxxxxx> --- drivers/char/agp/agp.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h index 67d7be800a7c..93689bfdda34 100644 --- a/drivers/char/agp/agp.h +++ b/drivers/char/agp/agp.h @@ -239,8 +239,6 @@ extern const struct aper_size_info_16 agp3_generic_sizes[]; extern int agp_off; extern int agp_try_unsupported_boot; -long compat_agp_ioctl(struct file *file, unsigned int cmd, unsigned long arg); - /* Chipset independent registers (from AGP Spec) */ #define AGP_APBASE 0x10 #define AGP_APERTURE_BAR 0 -- 2.34.1