mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 19:10:01 +02:00
fthd: Remove dead code
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
This commit is contained in:
@@ -75,11 +75,9 @@ struct h2t_buf_ctx {
|
||||
int done;
|
||||
};
|
||||
|
||||
extern int setup_buffers(struct fthd_private *dev_priv);
|
||||
extern int fthd_buffer_init(struct fthd_private *dev_priv);
|
||||
extern void fthd_buffer_exit(struct fthd_private *dev_priv);
|
||||
extern void fthd_buffer_return_handler(struct fthd_private *dev_priv, u32 offset, int size);
|
||||
extern void fthd_buffer_queued_handler(struct fthd_private *dev_priv, u32 offset);
|
||||
extern struct iommu_obj *fthd_iommu_alloc_sgtable(struct fthd_private *dev_priv, struct sg_table *);
|
||||
extern void fthd_iommu_free(struct fthd_private *dev_priv, struct iommu_obj *obj);
|
||||
#endif
|
||||
|
||||
@@ -133,11 +133,6 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int isp_enable_sensor(struct fthd_private *dev_priv)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int isp_load_firmware(struct fthd_private *dev_priv)
|
||||
{
|
||||
const struct firmware *fw;
|
||||
@@ -1285,7 +1280,6 @@ int isp_init(struct fthd_private *dev_priv)
|
||||
pci_set_power_state(dev_priv->pdev, PCI_D0);
|
||||
mdelay(10);
|
||||
|
||||
isp_enable_sensor(dev_priv);
|
||||
FTHD_ISP_REG_WRITE(0, ISP_FW_CHAN_CTRL);
|
||||
FTHD_ISP_REG_WRITE(0, ISP_FW_QUEUE_CTRL);
|
||||
FTHD_ISP_REG_WRITE(0, ISP_FW_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user